import axiosInstance from "@/utils/request.js"

export const GetSign = (params) => {
  const form = new FormData()
  form.append("signStr", params)
  form.append("type", 3)
  form.append("accessToken", "dc47d38ea241b1a934826db18ea053b4")
  let arr = axiosInstance.post("/api/sign/getSignResult", form).then((e) => {
    // console.log(e)
    return e
  })
  return arr
}

export const PostSign = (params) => {
  const form = new FormData()
  form.append("signStr", params)
  form.append("type", 3)
  form.append("accessToken", "dc47d38ea241b1a934826db18ea053b4")
  let arr = axiosInstance.post("/api/sign/getSignResult", form).then((e) => {
    // console.log(e)
    return e
  })
  return arr
}
